Re: [NTG-context] margintext and floats in the margin

2020-01-31 Thread Jan Willem Flamma
ble to put some short notes in the margin, together with a float? > Below is an example, which puts the float on top of the text in the margin. > The option « stack=yes » works fine for the margintext when there is no > float, but it does not seems to be an option which puts the figu

[NTG-context] margintext and floats in the margin

2020-01-29 Thread Otared Kavian
Hi, Is it possible to put some short notes in the margin, together with a float? Below is an example, which puts the float on top of the text in the margin. The option « stack=yes » works fine for the margintext when there is no float, but it does not seems to be an option which puts the figure

[NTG-context] margintext and floats in the margin

2020-01-26 Thread Otared Kavian
Hi, Is it possible to put some short notes in the margin, together with a float? Below is an example, which puts the float on top of the text in the margin. The option « stack=yes » works fine for the margintext when there is no float, but it does not seems to be an option which puts the figure

[NTG-context] Empty \margintext causes Lua error

2019-03-06 Thread Henri Menke
Dear list, MWE: \starttext \margintext{} \stoptext Error: ...ext/tex/texmf-context/tex/context/base/mkiv/node-nut.lua:736: table index is nil Please fix. Cheers, Henri ___ If your question is of interest

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-30 Thread Hans Hagen
to align text in margin data: \setuphead [chapter] [style=\tfxx, number=no, alternative=margintext, align=middle] \setupmargindata [inmargin] [style=\tfxx, align=middle] \starttext \chapter{Chapter} \input

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-30 Thread Pablo Rodriguez
e to align text in margin data: \setuphead [chapter] [style=\tfxx, number=no, alternative=margintext, align=middle] \setupmargindata [inmargin] [style=\tfxx, align=middle] \starttext \chapter{Chapter} \input jojo

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Hans Hagen
On 7/29/2017 7:34 PM, Rik wrote: Willi, Pablo, and list, Willi, I understand that the overprint of the margin can be managed by changing the default layout. The left margin box displayed by \showframe using the default layout clearly shows the margin extending past the edge of the page. I

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Rik Kabel
On 2017-07-29 14:18, Pablo Rodriguez wrote: On 07/29/2017 07:34 PM, Rik wrote: Pablo, The \inmargin commands do suffer from the same problem; you need simply change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height. This is

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Pablo Rodriguez
On 07/29/2017 07:34 PM, Rik wrote: > Pablo, > > The \inmargin commands do suffer from the same problem; you need simply > change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height. This is different from \chapter. Pablo --

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Rik
Rodriguez wrote: On 07/23/2017 09:48 PM, Rik Kabel wrote: The following example demonstrates two problems with alternative=margintext in \setuphead: 1. When used with start/stop sectioning, text following the title may be set on the wrong line. Hi Rik, the issue comes

Re: [NTG-context] Problems with heads using margintext alternative

2017-07-29 Thread Pablo Rodriguez
On 07/23/2017 09:48 PM, Rik Kabel wrote: > The following example demonstrates two problems with > alternative=margintext in \setuphead: > > 1. When used with start/stop sectioning, text following the title may > be set on the wrong line. Hi Rik, the issue comes with

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Willi Egger
lowing example demonstrates two problems with alternative=margintext >> in \setuphead: >> • When used with start/stop sectioning, text following the title may be >> set on the wrong line. >> • Without regard to the type of sectioning, margintext titles may spill

Re: [NTG-context] Problems with headers using margintext alternative

2017-07-29 Thread Rik
Bump. The problem persists two updates later. In the picture below, the green line represents the edge of the page. Does anyone else get the same result? -- Rik On 2017-07-23 15:48, Rik Kabel wrote: The following example demonstrates two problems with alternative=margintext in \setuphead

[NTG-context] Problems with headers using margintext alternative

2017-07-23 Thread Rik Kabel
The following example demonstrates two problems with alternative=margintext in \setuphead: 1. When used with start/stop sectioning, text following the title may be set on the wrong line. 2. Without regard to the type of sectioning, margintext titles may spill over the left edge

[NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Philipp A.
example: \enableregime[utf-8] \mainlanguage[de] \starttext \subject{Works} 1 \margintext{a} \subject{Doesn’t work} \margintext{b} \stoptext ___ If your question is of interest to others as well, please

Re: [NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Hans Hagen
On 3/19/2015 11:39 AM, Philipp A. wrote: |\enableregime[utf-8] ^^^ no need for that \mainlanguage[de] \starttext \subject{Works} 1 \margintext{a} \subject{Doesn’t work} \margintext{b} \margintext{c} \strut \stoptext| margintexts need to bind to something

Re: [NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Philipp A.
thank you! what’s \strut? can’t find it in the wiki… Hans Hagen pra...@wxs.nl schrieb am Do., 19. März 2015 um 11:52 Uhr: On 3/19/2015 11:39 AM, Philipp A. wrote: |\enableregime[utf-8] ^^^ no need for that \mainlanguage[de] \starttext \subject{Works} 1 \margintext

Re: [NTG-context] \margintext / \inmargin doesn't work as only thing after header

2015-03-19 Thread Hans Hagen
am Do., 19. März 2015 um 11:52 Uhr: On 3/19/2015 11:39 AM, Philipp A. wrote: |\enableregime[utf-8] ^^^ no need for that \mainlanguage[de] \starttext \subject{Works} 1 \margintext{a} \subject{Doesn’t work

[NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Devendra Ghate
If \thinrule is used in \margintext, context gives error. \hairline works fine. *Details:* ConTeXt ver: 2013.01.10 01:04 MKIV fmt: 2013.1.13 *Error Message:* ! Undefined control sequence. system tex error on line 2 in file a.tex: Undefined control sequence ... 1

Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen
On 1/24/2013 10:26 AM, Devendra Ghate wrote: If \thinrule is used in \margintext, context gives error. \hairline works fine. You can add an \unexpanded in pack-mrl.mkiv and remake the format: \unexpanded\def\thinrule

Re: [NTG-context] \thinrule in \margintext doesn't work

2013-01-24 Thread Hans Hagen
On 1/24/2013 10:26 AM, Devendra Ghate wrote: **MWE** \starttext %\margintext{\thinrule A margintext with thinrule.} \margintext{\hairline A margintext with hairline.} \stoptext btw, after fixing it this becomes a MNWE as a \margintext without anything following it will never show up

[NTG-context] \margintext overflows in bottom margin

2013-01-17 Thread Devendra Ghate
I am using*\margintext* for comments in the margin. When a comment falls on the last line of a page, I have to manually add *\setupmargintext[voffset=-2em] *everytime to stop it from flowing into bottom margin. Is there a way to automatically offset margin text to stop it from flowing

[NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
, headerdistance=0pt, height=560pt, footer=0pt, % backspace=42pt, leftmargin=0pt, width=280pt, rightmargindistance=20pt, rightmargin=100pt] \setupmargindata [margintext] [location=outer

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Marco Patzer
2012-11-11 Andy Thomas: Is there a way to avoid that and have the figure always placed in the margin? \startplacefigure [title=Foo, location=margin] \stopplacefigure Marco ___ If your question is of interest to

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
That was my first choice as well. But it does not play nice with margintext. Try putting \margintext{bla} directly after the chapter. stack=continue is somehow ignored. Also, the figure is moved all the way up, which is strange. On Nov 11, 2012, at 8:52 PM, Marco Patzer wrote: 2012-11-11 Andy

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Marco Patzer
2012-11-11 Andy Thomas: That was my first choice as well. But it does not play nice with margintext. The both use two different mechanisms AFAIK, and there's no or not much communication between them. Mixing both leads to overprinted content. Also, the figure is moved all the way up, which

Re: [NTG-context] margintext and placefigure

2012-11-11 Thread Andy Thomas
On Nov 11, 2012, at 9:23 PM, Marco Patzer wrote: 2012-11-11 Andy Thomas: That was my first choice as well. But it does not play nice with margintext. The both use two different mechanisms AFAIK, and there's no or not much communication between them. Mixing both leads to overprinted

Re: [NTG-context] pushing margintext up

2012-05-29 Thread Andy Thomas
at the lua end yet is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so? +1, I’m curious too whether this can be done. maybe some day when I'm looking into the page builder code Hans

Re: [NTG-context] pushing margintext up

2012-05-29 Thread Hans Hagen
that this is not finished yet i.e. there is no api at the lua end yet is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so? +1, I’m curious too whether this can be done. maybe some day when I'm looking into the page

Re: [NTG-context] pushing margintext up

2012-05-29 Thread Philipp Gesang
. keep in mind that this is not finished yet i.e. there is no api at the lua end yet is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so? +1, I’m curious too whether this can be done

Re: [NTG-context] pushing margintext up

2012-05-28 Thread Philipp Gesang
and their respective .lua companions. I suspect you will be interested in the function „inject()“ (part of the finalizer) in typo-mar.lua. is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so? +1, I’m

Re: [NTG-context] pushing margintext up

2012-05-28 Thread Hans Hagen
data (as in your example): typo-mar.mkiv and their respective .lua companions. I suspect you will be interested in the function „inject()“ (part of the finalizer) in typo-mar.lua. keep in mind that this is not finished yet i.e. there is no api at the lua end yet is there a way for margintext

Re: [NTG-context] pushing margintext up

2012-05-27 Thread Andy Thomas
Hello, could someone point out to me, where in the standalone installation the 'margin float placement' algorithm lives. Thanks, Andy On May 23, 2012, at 4:34 PM, Andy Thomas wrote: Hello all, is there a way for margintext to 'respect' the lower border of the page and push

[NTG-context] pushing margintext up

2012-05-23 Thread Andy Thomas
Hello all, is there a way for margintext to 'respect' the lower border of the page and push the margintext up, pushing other margintexts upwards while doing so? example: \definepapersize[wissenschaft][width=170mm,height=240mm] \setuppapersize [wissenschaft] \setuplayout [topspace=40pt

Re: [NTG-context] margintext writes text out of range

2010-12-07 Thread Wolfgang Schuster
Am 07.12.2010 um 05:52 schrieb Jonas Stein: example here: http://wiki.contextgarden.net/Reference/en/margintext is is cut of. I saw the same in the documentation of the fixme module. [1] probably because the margin is larger than the backspace How should this be fixed

Re: [NTG-context] margintext writes text out of range

2010-12-07 Thread Jonas Stein
example here: http://wiki.contextgarden.net/Reference/en/margintext is is cut of. I saw the same in the documentation of the fixme module. [1] probably because the margin is larger than the backspace How should this be fixed in the wikipages? ...and how in own documents

Re: [NTG-context] margintext writes text out of range

2010-12-06 Thread Hans Hagen
On 5-12-2010 3:55, Jonas Stein wrote: example here: http://wiki.contextgarden.net/Reference/en/margintext is is cut of. I saw the same in the documentation of the fixme module. [1] probably because the margin is larger than the backspace

Re: [NTG-context] margintext writes text out of range

2010-12-06 Thread Jonas Stein
example here: http://wiki.contextgarden.net/Reference/en/margintext is is cut of. I saw the same in the documentation of the fixme module. [1] probably because the margin is larger than the backspace How should this be fixed in the wikipages? ...and how in own documents? -- Jonas Stein

[NTG-context] margintext writes text out of range

2010-12-04 Thread Jonas Stein
example here: http://wiki.contextgarden.net/Reference/en/margintext is is cut of. I saw the same in the documentation of the fixme module. [1] [1] http://modules.contextgarden.net/fixme fixme.pdf page 3 -- Jonas Stein n...@jonasstein.de

[NTG-context] \margintext

2010-11-07 Thread Herbert Voss
I have two questions to \margintext \setupinmargin[left][separator=:,width=2cm,line=2] \starttext %foo \margintext[left]{margin text} \input knuth \stoptext this works fine, but when I uncomment the line with %foo, then the marginal note is placed in second line of the following paragraph. Why

Re: [NTG-context] margintext in mkii and mkiv

2010-11-06 Thread Vladimir Lomov
** Hans Hagen [2010-11-05 13:54:06 +0100]: On 5-11-2010 5:51, Vladimir Lomov wrote: Hi. Consider the attached example. When compiled with mkii (texexec) I get text in margin while if I compile the file with mkiv (context) I get only text with nothing in margin. I'm using context minimal: $

[NTG-context] \margintext

2010-11-06 Thread Herbert Voss
The documentation says, that this should work, but it didn't: \starttext \margintext{foo}bar baz \stoptext However, in the documentation the example also didn't show the margin text (p 64). Herbert ___ If your

Re: [NTG-context] \margintext

2010-11-06 Thread Aditya Mahajan
On Sat, 6 Nov 2010, Herbert Voss wrote: The documentation says, that this should work, but it didn't: \starttext \margintext{foo}bar baz \stoptext However, in the documentation the example also didn't show the margin text (p 64). There was an email about it yesterday with a fix. Did you see

Re: [NTG-context] \margintext

2010-11-06 Thread Herbert Voss
Am 06.11.2010 22:28, schrieb Aditya Mahajan: On Sat, 6 Nov 2010, Herbert Voss wrote: The documentation says, that this should work, but it didn't: \starttext \margintext{foo}bar baz \stoptext However, in the documentation the example also didn't show the margin text (p 64

Re: [NTG-context] margintext in mkii and mkiv

2010-11-05 Thread Hans Hagen
On 5-11-2010 5:51, Vladimir Lomov wrote: Hi. Consider the attached example. When compiled with mkii (texexec) I get text in margin while if I compile the file with mkiv (context) I get only text with nothing in margin. I'm using context minimal: $ context --version | grep version MTXrun |

[NTG-context] margintext in mkii and mkiv

2010-11-04 Thread Vladimir Lomov
Hi. Consider the attached example. When compiled with mkii (texexec) I get text in margin while if I compile the file with mkiv (context) I get only text with nothing in margin. I'm using context minimal: $ context --version | grep version MTXrun | current version: 2010.11.03 19:42 Did I miss

Re: [NTG-context] margintext style and more

2006-09-12 Thread Hans Hagen
Peter Rolf wrote: I don't think that there is any bookkeeping of the inmargin stuff. But maybe I'm wrong. \repositionmarginboxtrue experimental for a few years now -) Hans -

Re: [NTG-context] margintext style and more

2006-09-11 Thread batela
Dear Sirs I have two questions for you: 1. How i can changing the margintext style? 2. In some cases I found a overlapping between to consecutive margintext notes and between a sequence of a inmargin and margintext notes. How I can fix this? Thanks in advance Em 10/09/2006, às 9:16

Re: [NTG-context] margintext style and more

2006-09-11 Thread Peter Rolf
batela wrote: Dear Sirs I have two questions for you: 1. How i can changing the margintext style? As I understand it, you also use \setupinmargin for this (see context manual, top of page 63). 2. In some cases I found a overlapping between to consecutive margintext notes and between

[NTG-context] margintext style

2006-09-10 Thread batela
Dear Sirs Is there any way to format margintext notes. I want to justify and apply this format to my margin notes: \def\MarginStyle{% \switchtobodyfont[7pt]\setupinterlinespace[line=9pt]% \setuphz\setupprot\emergencystretch=.5em \setuptolerance[{horizontal,verytolerant}]% } Thanks

Re: [NTG-context] margintext style

2006-09-10 Thread batela
For changing inmargin style I make \setupinmargin [right] [style=\MarginStyle] Are there a similar solution for \margintext? thanks Em 10/09/2006, às 3:48, batela escreveu: Dear Sirs Is there any way to format margintext notes. I want to justify and apply this format to my margin

[NTG-context] margintext drifting down the page

2003-11-05 Thread Duncan Hothersall
Hello all. I have an odd behaviour which I think I just about understand but can't fix. I use \margintext{Note that ...} to place little notes into the margin next to things in the running text. It has worked beautifully for all my content up till now, but I now find myself wanting to put